#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	double x;
	double y;
	double z;
	scanf("%lf %lf %lf",&x,&y,&z);
	double d = x > y ? x : y;
	printf("%lf\n",z > d ? z : d);
	return 0;
}